package com.egoo.ticket.server.dao;

import com.egoo.ticket.server.pojo.dto.TableHeadFieldDto;
import com.egoo.ticket.server.pojo.entity.TableHeadField;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Component;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author donny
 * @since 2020-06-09
 */
@Component
public interface HeadFieldMapper {

	Integer insertEntity(List<TableHeadField> tableHeadFields);

	List<TableHeadField> selectByFilterId(TableHeadFieldDto tableHeadFieldDto);

	Integer deleteByFilterId(TableHeadFieldDto tableHeadFieldDto);

    TableHeadField selectByCode(@Param("param") String param,
								@Param("workOrderFilterMenuId") Integer workOrderFilterMenuId);
}
